package org.simpledownloader.test;

import javax.swing.JPanel;
import javax.swing.JToggleButton;
import java.awt.Rectangle;

/**
 * @author  yangshuo
 */
public class MainPanel extends JPanel {

	private static final long serialVersionUID = 1L;
	/**
	 * @uml.property  name="jToggleButton"
	 */
	private JToggleButton jToggleButton = null;

	/**
	 * This is the default constructor
	 */
	public MainPanel() {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setSize(479, 355);
		this.setLayout(null);
		this.add(getJToggleButton(), null);
	}

	/**
	 * This method initializes jToggleButton	
	 * @return  javax.swing.JToggleButton
	 * @uml.property  name="jToggleButton"
	 */
	private JToggleButton getJToggleButton() {
		if (jToggleButton == null) {
			jToggleButton = new JToggleButton();
			jToggleButton.setBounds(new Rectangle(68, 72, 73, 24));
			jToggleButton.setText("Test");
		}
		return jToggleButton;
	}

}  //  @jve:decl-index=0:visual-constraint="10,10"
